<template>
    <tr >
          <td>{{time}}</td>
          <td>{{uname}}</td>
          <td>{{result}}</td>
          <td>{{msg}}</td>
          <td @click="message">{{operate}}</td>
        </tr>
</template>

<script>
 export default {
   name: 'HmTable',
   props: ['time', 'uname', 'result','msg','operate'],
   components: {

   },
   data () {
     return {

     }
   },
   methods: {
    message(){
        console.log(1);
        alert(`就诊详情记录
        就诊日期:${this.time}
        医生姓名:${this.uname}
        诊断结果:${this.result}
        处方信息:${this.msg}
        `)
    }

   },
   mounted() {

   },
   watch: {

   },
   computed: {

   },
   filters: {

   }
 }
</script>

<style scoped lang='less'>

</style>